package com.tim.app.server.entry;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * 动态
 */
public class Dynamic extends SelectInfo implements Serializable {

    public List<String> getImageUrl() {
        if(!TextUtils.isEmpty(getImage())){
            if(getImage().contains("#")){
                return Arrays.asList(getImage().split("#"));
            }else{
                List<String> list = new ArrayList<>();
                list.add(getImage());
                return list;
            }
        }
        return null;
    }

}
